import Mock from 'mockjs'
// import monitoring from './monitoring'

import loginAPI from './login'

Mock.setup({
  timeout: '350-600'
})

// 登录相关
Mock.mock(/\/user\/login/, 'post', loginAPI.login)
Mock.mock(/\/user\/logout/, 'post', loginAPI.logout)
Mock.mock(/\/user\/info\.*/, 'get', loginAPI.getInfo)

// 车辆在途监控
// Mock.mock(/\/monitor\/queryPage/, 'post', monitoring.getList)

export default Mock
